package com.singleton.type7.self;

public class Singleton07 {

}

class Singleton {

    public Singleton() {

    }

    private static class SingletonInstance{
        public final static Singleton instance = new Singleton();
    }

    public static Singleton getInstance(){
        return SingletonInstance.instance;
    }
}
